package com.wk.kxexamadminister.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wk.kxexamadminister.entity.Judgment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface JudgmentMapper extends BaseMapper<Judgment> {

    @Select("select * from judgment where c_id = #{cId} LIMIT 20")
    List<Judgment> findLimitJudgment(Integer cId);

}
